//
//  NSMap.m
//  OCUI
//
//  Created by bus365 on 15/8/22.
//
//

#import "NSBaseBean.h"

@implementation NSBaseBean
-(void) encodeWithCoder:(NSCoder *)aCoder{

    [aCoder encodeObject:_code forKey:@"code"];
    [aCoder encodeObject:_value forKey:@"value"];
    
}
-(id) initWithCoder:(NSCoder *)aDecoder{
    
    self.code=[aDecoder decodeObjectForKey:@"code"];
    self.value=[aDecoder decodeObjectForKey:@"value"];
    return  self;
    
}
-(void) dealloc{
    
}
@end
